home *** CD-ROM | disk | FTP | other *** search
-
-
- NAME
- WriteLn
-
- SYNOPSIS
- WriteLn - Write to a Filehandle - Requires v37
-
- INPUTS
- "FILEHANDLE/N/A,NOLINE/S,TEXT/F"
-
- FUNCTION
- WriteLn is a bit superfluous, since all U can
- do with it can easily - and perhaps better -
- be achieved with the use of echo and output
- redirection ('>>') (expect for the case, we
- try to redirect to things like CON:...).
-
- WriteLn just copies a string to a filehandle that
- was previousy opened with 'Open'; it is part of
- the archive just for completeness: if we have a
- open/close/read, everyone can also expect a 'write'.
- ReadLn does no checks on the given filehandle, so
- it should be used carefully.
-
- RESULT
- -/-
-
- NOTES
- ! WriteLn is highly dangerous! Do not Use it, !
- ! if U do not exactly know what U are doing! !
-
- CLI - only
-
- should compile with SAS-C
-
- BUGS
-
- EXAMPLES
- > set fh `Open T:writetest WRITE`
- > WriteLn $fh This is a test
- > Close $fh
- > Unset fh
- > cat T:writetest
- This is a test
-
- AUTHOR
- Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
- noll@student.uni-kl.de
-
-
-
-